package org.csu.cms.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.csu.cms.domain.Supplier;
import org.springframework.stereotype.Repository;

@Mapper
public interface SupplierMapper extends BaseMapper<Supplier> {

}
//        if(account != null){
//            updateUsername(account, updateAccount.getUserid());//更新signon数据库里的username
//            account.setUserid(updateAccount.getUserid());
//            account.setEmail(updateAccount.getEmail());
//            account.setCity(updateAccount.getCity());
//            account.setCountry(updateAccount.getCountry());
//            account.setAddr1(updateAccount.getAddr1());
//            account.setAddr2(updateAccount.getAddr2());
//            account.setFirstname(updateAccount.getFirstname());
//            account.setLastname(updateAccount.getLastname());
//            account.setState(updateAccount.getState());
//            account.setStatus(updateAccount.getStatus());
//            account.setPhone(updateAccount.getPhone());
//            account.setZip(updateAccount.getZip());
//            accountMapper.update(account, accountUpdateWrapper);
//            return account;
//        }
